{{include 'share/header'}} {{include 'share/nav'}}

<!--icloud标记-->
{{if title=="文件夹"}}
	<div class="icloud pull-left " style="">
		ICLOUD
	</div>
{{/if}}

<div class="ulsContainer">
	<!--列表-->
	{{if title=="文件夹"}}
		<ul class="uls">
			{{each infos as info index}}
				<li class="folders fs" data-name="{{info.name}}">
					<span class="glyphicon select edit" data-name="{{info.name}}"></span> {{info.name}}
					<div>
						<span>{{info.num}}</span><span class="glyphicon glyphicon-chevron-right"></span>
					</div>
				</li>
			{{/each}}
			<!--最近删除-->
			<li><a href="/delForm">{{delInfo.title}}
				<div><span>{{delInfo.num}}</span><span class="glyphicon glyphicon-chevron-right"></span></div>
				</a>
			</li>
		</ul>
	{{/if}} 
	{{if title!="文件夹"}}
	<ul class="uls" style="margin-top:-45px;" data-title ="{{title}}">
		{{each infos as info index}}
		<li class="folders content" data-name="{{info.name}}" style="height: 70px;font-size: 18px;font-weight: bold;opacity: 0.8;">
			<span class="glyphicon select edit" data-name="{{info.name}}"></span> {{info.name.toString().substr(0,20)}}
			<div style="position: relative;top: 20px;left: -395px;font-size: 16px;font-weight: 400;">
				<span>{{info.time | formatDate}}</span></span>
			</div>
		</li>
		{{/each}}
	</ul>
	{{/if}}
</div>

<!--------------------------------底部 begin ----------------------------->
<!--文件夹列表 底部-->
{{if title=="文件夹"}}
<div class="container footer">
	<div class="row">
		<div class="pull-right footerControl">新建文件夹</div>
	</div>
</div>
{{else}}
<!--文件夹内容列表 底部-->
<div class="container footer">
	<div class="row">
		<div class="pull-right footerControl"><span class="glyphicon glyphicon-edit" data-name="备忘录"></span></div>
	</div>
</div>
{{/if}}

<!--------------------------------底部 end ----------------------------->
{{include 'share/footer'}}
<script src="scripts/index.js" type="text/javascript" charset="utf-8"></script>